import { HttpClient } from '@angular/common/http';
import { ClusterComponent } from '../../../../riskCluster/cluster.component';
import { ChangeDetectorRef } from '@angular/core';
import { ClusterModelWrapper } from '../../../../riskCluster/cluster.model';
import { ClusterService } from '../../../../riskCluster/cluster.service';

/**
 * analyst view model
 */
export class AnalystViewModel extends ClusterComponent {

    public isMei: boolean;

    public narrative: string;

    public exposureComment: string;

    public overallExposureAssessment: string;

    public analystViewExposureAssessment: string;

    public overallManagementAssessment: string;

    public analystViewManagementAssessment: string;

    public managementComment: string;

    public esgRiskManagement: string;

    public companyClusterCode: string;

    public exposureClusters: ClusterModelWrapper[];

    public exposureClusterCode: string;

    public managementClusters: ClusterModelWrapper[];

    public managementClusterCode: string;

    constructor(private modelRef: ChangeDetectorRef) {
        super(modelRef);
    }

    public errorReset() {
        this.isMei = undefined;
        this.narrative = undefined;
        this.exposureComment = undefined;
        this.esgRiskManagement = undefined;
        this.companyClusterCode = undefined;
    }
}